<template>
	<div class="">
		<el-table class="zs-table-page-main" :data="list" stripe>
			<el-table-column type="index" label="序号" width="60" :align="'center'" />
			<el-table-column prop="roleName" label="审批人角色" width="90" show-overflow-tooltip :align="'left'" :formatter="defaultTableData" />
			<el-table-column prop="userName" label="审批人" width="90" show-overflow-tooltip :align="'left'" :formatter="defaultTableData" />
			<el-table-column prop="state" label="审批状态" width="90" show-overflow-tooltip :align="'left'" :formatter="defaultTableData" />
			<el-table-column prop="remark" label="审批意见" show-overflow-tooltip :align="'left'" :formatter="defaultTableData" />
			<el-table-column prop="formatAuditTime" label="审批时间" width="160" show-overflow-tooltip :align="'right'" :formatter="defaultTableData" />
		</el-table>
	</div>
</template>

<script setup>
	import { defaultTableData} from '@/utils/publicUtils';
	const props = defineProps({
		list: { type: Array },
	});
    console.log(props)
</script>
